package com.sofwin.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

    public static String getDateStr(Date date, String dateFormate){
        SimpleDateFormat sdf = new SimpleDateFormat(dateFormate);
        return sdf.format(date);
    }
}
